package com.yhm.myfootbollshow.demos.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yhm.myfootbollshow.demos.entity.po.User;

public interface UserMapper extends BaseMapper<User> {
    // 查找用户
    User findByUsername(String username);
    // 注册用户
    Boolean register(User user);
    // 禁/解用用户
    Boolean banUser(Long userId);
}
